/**
 * 
 */
package com.mvc.dao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.mvc.model.healthmanager.archive.BloodOxygen;
import com.mvc.model.healthmanager.archive.BloodPressure;

/**
 * 血氧Dao
 * @author qingjie
 *
 */
public interface BloodOxygenDao {
	
	/**
	 * 根据个人id,获取最新血氧记录
	 * @author qingjie
	 * @param personId
	 * @return
	 * Date:2015-11-15
	 */
	public List<BloodOxygen> getNewBloodOxygen(@Param("personId") String personId);
	
	/**
	 * 根据条件,获取所有血压记录
	 * @author qingjie
	 * @param bOxygen
	 * @return
	 * Date:2015-11-15
	 */
	public List<BloodOxygen> getBloodOxygen(@Param("bOxygen") BloodOxygen bOxygen);
	
	/**
	 * 获取json数据，根据个人id
	 * @author qingjie
	 * @return
	 * Date:2015-11-15
	 */
	public List<BloodOxygen> getJsonData(@Param(value="personId") String personId);
	

}
